#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@File    ：state.py
@Author  ：平
@Date    ：2025/9/28 14:00 
"""
from typing import NotRequired

from langgraph.graph import MessagesState


class State(MessagesState):
    intention: NotRequired[str]  # 用户意图
    is_fill: NotRequired[bool]  # 是否是填充任务
    book: NotRequired[dict]  # 书籍信息
